/// YApi QuickType插件生成，具体参考文档:https://plugins.jetbrains.com/plugin/18847-yapi-quicktype/documentation

import 'dart:convert';

Task taskFromJson(String str) => Task.fromJson(json.decode(str));

String taskToJson(Task data) => json.encode(data.toJson());

class Task {
    Task({
        required this.address,
        required this.statusStr,
         this.description,
        required this.updateTime,
        required this.lon,
        required this.title,
        required this.intellId,
        required this.createTime,
        required this.id,
        required this.isDel,
        required this.lat,
        required this.info,
        required this.status,
    });

    String address;
    String statusStr;
    String? description;
    int updateTime;
    String lon;
    String title;
    String intellId;
    int createTime;
    String id;
    int isDel;
    String lat;
    String info;
    int status;

    factory Task.fromJson(Map<dynamic, dynamic> json) => Task(
        address: json["address"],
        statusStr: json["statusStr"],
        description: json["description"],
        updateTime: json["updateTime"],
        lon: json["lon"],
        title: json["title"],
        intellId: json["intellId"],
        createTime: json["createTime"],
        id: json["id"],
        isDel: json["isDel"],
        lat: json["lat"],
        info: json["info"],
        status: json["status"],
    );

    Map<dynamic, dynamic> toJson() => {
        "address": address,
        "statusStr": statusStr,
        "description": description,
        "updateTime": updateTime,
        "lon": lon,
        "title": title,
        "intellId": intellId,
        "createTime": createTime,
        "id": id,
        "isDel": isDel,
        "lat": lat,
        "info": info,
        "status": status,
    };
}
